// test.ts

import { MockMethod } from 'vite-plugin-mock';
export default [
  {
    url: '/channel/user/userlist',
    method: 'get',
    response: ({ query }) => {
      return {
        code: 0,
        msg: '成功',
        data: {list:[
          {
            id: 1,//id 
            account: '1111', //ID编号   

          },
          {
            id: 2,//id 
            account: '22222', //ID编号  
          }
        ], page: 1, pageSize: 10, total: 100 }
      };
    }
  }, 
] as MockMethod[];
